home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Multimedia / MIDI / DX7 Librarian 1.2.0 / Sample Scripts / 16 Change Patch Parameter - 3 < prev    next >
Text File  |  1994-01-22  |  597b  |  15 lines

  1. tell application "DX7 Librarian"
  2.     activate -- if needed
  3.     repeat with i from 0 to 7
  4.         set Parameter i of Window "Sample" to (i + 1) -- only for check
  5.     end repeat
  6.     repeat with i from 0 to 7
  7.         set x to Parameter i of Window "Sample" -- get data of op.6
  8.         set Parameter (21 + i) of Window "Sample" to x -- copy to op.5
  9.         set Parameter (42 + i) of Window "Sample" to x -- copy to op.4
  10.         set Parameter (63 + i) of Window "Sample" to x -- copy to op.3
  11.         set Parameter (84 + i) of Window "Sample" to x -- copy to op.2
  12.         set Parameter (105 + i) of Window "Sample" to x -- copy to op.1
  13.     end repeat
  14. end tell
  15.